package com.su02.multi.examples.mlr;

import org.apache.commons.collections4.CollectionUtils;

import java.util.List;

public record TrainEntry4MLR(List<Double> x, double y) {
    public int size() {
        // size of vector (x | y)
        return CollectionUtils.size(x) + 1;
    }
}